package cn.com.my.vo;

import java.util.List;
import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("xml")
public class RedPackInfoReturn {     
	
	/**
	 * 返回状态码
	 * SUCCESS/FAIL。16位
	 * 此字段是通信标识，非交易标识，交易是否成功需要查看result_code来判断
	 */
	private String return_code;
	
	/**
	 * 返回信息，如非空，为错误原因 。128位
	 */
	private String return_msg;
	
	/**
	 * 业务结果。SUCCESS/FAIL。16位
	 */
	private String result_code;
	
	private String appid;
	private String openid;
	/**
	 * 使用API发放现金红包时返回的红包单号。32位
	 */
	private String detail_id;
	/**
	 * 商户使用查询API填写的商户单号的原路返回。28位
	 */
	private String mch_billno;
	/**
	 * 红包状态。16位
	 */
	private String status;
	/**
	 * 发放类型。32位
	 */
	private String send_type;
	/**
	 * 红包类型。32位
	 */
	private String hb_type;
	/**
	 * 红包个数。int
	 */
	private Integer total_num;
	/**
	 * 红包总金额（单位分）。int
	 */
	private Integer total_amount;
	/**
	 * 红包发送时间。如：2015-04-21 20:00:00。32位
	 */
	private String send_time;
	/**
	 * 祝福语。1282位
	 */
	private String wishing;
	
	/**
	 * 活动描述，低版本微信可见。256位
	 */
	private String remark;
	
	/**
	 * 发红包的活动名称。32位
	 */
	private String act_name;
	
	
	
	private String sign;
	/**
	 * 错误代码。32位
	 */
	private String err_code;
	
	/**
	 * 错误代码描述。128位
	 */
	private String err_code_des;
	
	
	/**
	 * 微信支付分配的商户号。32位
	 */
	private String mch_id;
	
	/**
	 * 发送失败原因。32位
	 */
	private String reason;
	
	
	
	/**
	 * 红包的退款时间（如果其未领取的退款）。如：2015-04-21 23:03:00。32位
	 */
	private String refund_time;
	
	/**
	 * 红包退款金额。int
	 */
	private Integer refund_amount;
	
	/**
	 * 裂变红包的领取列表
	 */
	private List<Hbinfo> hblist;

	public String getReturn_code() {
		return return_code;
	}

	public void setReturn_code(String return_code) {
		this.return_code = return_code;
	}

	public String getReturn_msg() {
		return return_msg;
	}

	public void setReturn_msg(String return_msg) { 
		this.return_msg = return_msg;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getResult_code() {
		return result_code;
	}

	public void setResult_code(String result_code) {
		this.result_code = result_code;
	}

	public String getErr_code() {
		return err_code;
	}

	public void setErr_code(String err_code) {
		this.err_code = err_code;
	}

	public String getErr_code_des() {
		return err_code_des;
	}

	public void setErr_code_des(String err_code_des) {
		this.err_code_des = err_code_des;
	}

	public String getMch_billno() {
		return mch_billno;
	}

	public void setMch_billno(String mch_billno) {
		this.mch_billno = mch_billno;
	}

	public String getMch_id() {
		return mch_id;
	}

	public void setMch_id(String mch_id) {
		this.mch_id = mch_id;
	}

	public String getDetail_id() {
		return detail_id;
	}

	public void setDetail_id(String detail_id) {
		this.detail_id = detail_id;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getSend_type() {
		return send_type;
	}

	public void setSend_type(String send_type) {
		this.send_type = send_type;
	}

	public String getHb_type() {
		return hb_type;
	}

	public void setHb_type(String hb_type) {
		this.hb_type = hb_type;
	}

	public Integer getTotal_num() {
		return total_num;
	}

	public void setTotal_num(Integer total_num) {
		this.total_num = total_num;
	}

	public Integer getTotal_amount() {
		return total_amount;
	}

	public void setTotal_amount(Integer total_amount) {
		this.total_amount = total_amount;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getSend_time() {
		return send_time;
	}

	public void setSend_time(String send_time) {
		this.send_time = send_time;
	}

	public String getRefund_time() {
		return refund_time;
	}

	public void setRefund_time(String refund_time) {
		this.refund_time = refund_time;
	}

	public Integer getRefund_amount() {
		return refund_amount;
	}

	public void setRefund_amount(Integer refund_amount) {
		this.refund_amount = refund_amount;
	}

	public String getWishing() {
		return wishing;
	}

	public void setWishing(String wishing) {
		this.wishing = wishing;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getAct_name() {
		return act_name;
	}

	public void setAct_name(String act_name) {
		this.act_name = act_name;
	}

	
	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public List<Hbinfo> getHblist() {
		return hblist;
	}

	public void setHblist(List<Hbinfo> hblist) {
		this.hblist = hblist;
	}

	@Override
	public String toString() {
		return "RedPackInfoReturn [return_code=" + return_code
				+ ", return_msg=" + return_msg + ", result_code=" + result_code
				+ ", appid=" + appid + ", openid=" + openid + ", detail_id="
				+ detail_id + ", mch_billno=" + mch_billno + ", status="
				+ status + ", send_type=" + send_type + ", hb_type=" + hb_type
				+ ", total_num=" + total_num + ", total_amount=" + total_amount
				+ ", send_time=" + send_time + ", wishing=" + wishing
				+ ", remark=" + remark + ", act_name=" + act_name + ", sign="
				+ sign + ", err_code=" + err_code + ", err_code_des="
				+ err_code_des + ", mch_id=" + mch_id + ", reason=" + reason
				+ ", refund_time=" + refund_time + ", refund_amount="
				+ refund_amount + ", hblist=" + hblist + "]";
	}
	
	
}
